<template>
  <footer>
    <ul>
      <li>
        <router-link to="/films">
          <i class="iconfont icon-dianying"></i>
          <span>电影</span>
        </router-link>
      </li>
      <li>
        <router-link to="/cinemas">
          <i class="iconfont icon-yingyuan"></i>
          <span>影院</span>
        </router-link>
      </li>
      <li>
        <router-link to="/news">
          <i class="iconfont icon-xiaoxi"></i>
          <span>资讯</span>
        </router-link>
      </li>
      <li>
        <router-link to="/center">
          <i class="iconfont icon-tubiaolunkuo-"></i>
          <span>我的</span>
        </router-link>
      </li>
    </ul>
  </footer>
</template>

<script>
export default {
  components: {
  },
  data () {
    return {

    }
  },
  computed: {
  },
  created () {
  },
  mounted () {
  },
  methods: {

  }
}
</script>

<style scoped lang="scss">
  .router-link-active {
    color: #FF6C29;
  }

  footer:active {
    background-color: #fff;
  }

  footer {
    width: 100%;
    height: 50px;
    position: fixed;
    left: 0;
    bottom: 0;
    border-top: 1px solid #F8F8F8;
    padding-top: 3px;
    box-sizing: border-box;
    background-color: #fff;

    ul {
      display: flex;
      justify-content: space-between;

      li {
        width: 25%;
        height: 50px;
        line-height: 50px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;

        a {
          width: 100%;
          height: 24.5px;
          line-height: 24.5px;
          display: flex;
          flex-direction: column;
          align-items: center;
          color: #797D82;

          i {
            font-size: 22px;
          }

          span {
            font-size: 14px;
          }
        }
      }
    }
  }
</style>
